import request from '@/utils/request';

// ============ 公共 通用方法================
export default {
	apiCom: {
		getAllRooms: 'Room/GetAllRooms',
		getDepartTree: 'Dept/GetDepartTree',
		getDeviceTree: 'DeviceInfo/GetDeviceTrees',
	},
	//通用批量删除数据
	deleteList(data, mTypeName) {
		return request({
			url: `Home/DeleteList?mTypeName=${mTypeName}`,
			method: 'post',
			data,
		});
	},
	
};